Skip to content

Conversation

@weshaggard
Copy link
Member

Trying to improve the error logging for build commands.

@weshaggard
Copy link
Member Author

/azp run net - template

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@weshaggard
Copy link
Member Author

/azp run net - core

@weshaggard weshaggard marked this pull request as ready for review October 15, 2025 21:45
@weshaggard weshaggard requested a review from hallipr as a code owner October 15, 2025 21:45
Copilot AI review requested due to automatic review settings October 15, 2025 21:45
@weshaggard weshaggard requested a review from benbp as a code owner October 15, 2025 21:45
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@weshaggard weshaggard changed the title Refactor build step to use add DevOps logging Refactor build step to add DevOps logging Oct 15, 2025
@weshaggard
Copy link
Member Author

/azp run net - core - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Refactors build and test pipeline steps to wrap dotnet pack/test invocations with a new PowerShell helper for improved Azure DevOps logging.

  • Adds runwithdevopslogging.ps1 to invoke msbuild commands with enhanced logging.
  • Replaces script steps with pwsh and attempts to route dotnet pack/test through the logging wrapper.
  • Adjusts argument quoting in test and build YAML steps (introducing some issues).

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 8 comments.

File Description
eng/scripts/runwithdevopslogging.ps1 New helper script intended to wrap msbuild/dotnet invocations with enhanced logging.
eng/pipelines/templates/steps/build.yml Updated build steps to call the new logging script before dotnet pack.
eng/pipelines/templates/jobs/live.tests.yml Modified live test job to insert logging script and altered argument quoting for filters and loggers.
eng/pipelines/templates/jobs/ci.tests.yml Updated CI test job similarly, adding logging script and changing filter/logger argument quoting.

@weshaggard
Copy link
Member Author

/azp run net - core - tests

@weshaggard
Copy link
Member Author

/azp run net - core

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

1 similar comment
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@weshaggard
Copy link
Member Author

/azp run net - pullrequest

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@weshaggard
Copy link
Member Author

/azp run net - core

@weshaggard
Copy link
Member Author

/azp run net - core - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

1 similar comment
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@weshaggard
Copy link
Member Author

/azp run net - signalr

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@weshaggard
Copy link
Member Author

/azp run net - eventgrid - functions

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@weshaggard
Copy link
Member Author

/azp run net - core

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@weshaggard weshaggard merged commit 847fdf3 into main Oct 17, 2025
92 checks passed
@weshaggard weshaggard deleted the weshaggard-patch-2 branch October 17, 2025 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants